<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS作业</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .name{
            position: absolute;
            margin: 0 auto;
            font-size: 60px;
            color: azure;
            top: 20px;
            left: auto;
        }
        body{
            background-color: black;
            font-weight: 600;

        }
        .s20{
            position: relative;
            top:150px;
            left:100px;
            box-sizing: border-box;
            width: 500px;
            height: 500px;
            background-color: whitesmoke;
            border-radius: 5em;
        }
        #more{
            width: 300px;
            height: 80px;
            box-sizing: border-box;
            position: relative;
            left: 1000px;
            background-color: wheat;
            border-radius: 2em;
        }
        #more:hover{
            background-color: gray;
        }
        p{
            position: absolute;
            font-size: 30px;
            left: 15px;
            top: 15px;
        }
        .next {
            font-size: 60px;
            position: absolute;
            top: 210px;
            right: 10px;
            background-color: whitesmoke;
        }
        .prev {
            font-size: 60px;
            position: absolute;
            top: 210px;
            left: 10px;
            background-color: whitesmoke;
        }
        .prev:hover,
        .next:hover {
        background-color: grey;
        color: white;
      }
        #img {
            position: absolute;
            left: 50px;
            top: 30px;
        }
    </style>
</head>
<body>
    <div><h1 class="name">Samsung-S20, 马上就来!</h1></div>
    <div class="s20">
        <img src="img/S20.jpg" alt="SamSung-S20," width="400px" id="img">
        <div class="prev">&lt;</div>
        <div class="next">&gt;</div>
    </div>
    <div>
<!--        <p class="kv_title">All you want, To do all you love</p>-->
<!--        <p class="kv_title">From $10.42/mo⊕ for 24 months or $249.99ᶿ</p>-->
    </div>
    <div id="more"><p>更多精彩，即将呈现</p></div>
</body>
</html>
